package com.ivo.ibatis;

import java.util.List;

import org.apache.log4j.Logger;

public class EifService {
	protected final Logger logger = Logger.getLogger(this.getClass());
	
	protected IBatisDao eifDao;
	
	public IBatisDao getEifDao() {
		return eifDao;
	}

	public void setEifDao(IBatisDao eifDao) {
		this.eifDao = eifDao;
	}
	
	public List getObjects(String stmtId, Object obj) {
		List list = eifDao.getObjects(stmtId, obj);
		return list;
	}
	public Object getObject(String stmtId, Object obj) {
		Object object = eifDao.getObject(stmtId, obj);
		return object;
	}
	public int saveObject(String stmtId, Object obj) {
		int object = eifDao.saveObject(stmtId, obj);
		return object;
	} 
	public int updateObject(String stmtId, Object obj) {
		int object = eifDao.updateObject(stmtId, obj);
		return object;
	}
	public int removeObject(String stmtId, Object obj) {
		int object = eifDao.removeObject(stmtId, obj);
		return object;
	}

}
